﻿using Nop.Services.Tasks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Services.Logistics
{
    public class CheckReadyPackageTask : ITask
    {
        private readonly ILogisticsService _logisticsService;

        public CheckReadyPackageTask(ILogisticsService logisticsService)
        {
            this._logisticsService = logisticsService;
        }

        /// <summary>
        /// Executes a task
        /// </summary>
        public void Execute()
        {
            _logisticsService.CheckReadyPackage();
        }
    }
}
